x86/hvm: refactor code that allocates ioreq gfns.
authorTim Deegan <tim@xen.org>
Thu, 16 Apr 2015 16:34:24 +0000 (17:34 +0100)
committerTim Deegan <tim@xen.org>
Thu, 23 Apr 2015 09:38:03 +0000 (10:38 +0100)
commit314ce9ccb4c9679212a439044c19a71167e38fb4
treeb4720b74a532dfa293c8779eb7515ba7c0d02a28
parent56d2350bf542ad5fd20d20e4e9dac76e8d9a54fe
x86/hvm: refactor code that allocates ioreq gfns.

It was confusing GCC's uninitialized-variable detection.

Signed-off-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c